-- GENERATED SPELL FOR [Moongraze Buck] --


function spell0_17201(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(31274,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17201', 1349, 1)
end

function Sorts_17201(pUnit, Event)
local choix_sorts_17201 = math.random(0, 0)
if choix_sorts_17201 == 0 then
pUnit:RegisterEvent('spell0_17201', 1, 1)
end
end

function mob17201_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17201', math.random(1500, 3000), 1)
end

function mob17201_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17201_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17201_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17201, 1, 'mob17201_Action')
RegisterUnitEvent(17201, 2, 'mob17201_Leave')
RegisterUnitEvent(17201, 3, 'mob17201_Kill')
RegisterUnitEvent(17201, 4, 'mob17201_Die')
